package com.yjymm.commonsdk.common.component.oss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author panhaoxiong
 * @date 2021-02-07 14:29
 */
@ConfigurationProperties(prefix = "oss")
@Data
public class OSSProperties {

    private String endpoint = "<yourEndpoint>";
    // 阿里云主账号AccessKey拥有所有API的访问权限，风险很高。强烈建议您创建并使用RAM账号进行API访问或日常运维，请登录RAM控制台创建RAM账号。
    private String accessKeyId = "<yourAccessKeyId>";
    private String accessKeySecret = "<yourAccessKeySecret>";
    private String bucketName = "<yourBucketName>";
    private String urlPrefix;
}
